.TH "GAMMU-BACKUP" "5" "June 27, 2012" "1.32.0" "Gammu"
.SH NAME
gammu-backup \- gammu(1) backup file format.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.\" Man page generated from reStructeredText.
.
.sp
The backup format is text file encoded in either ASCII or UCS\-2\-BE encodings.
.sp
This file use ini file syntax, see \fIini\fP.
.SH EXAMPLES
.sp
If you will backup settings to Gammu text file, it will be possible to edit
it. It\(aqs easy: many things in this file will be written double \- once in Unicode,
once in ASCII. When you will remove Unicode version Gammu will use ASCII
on fBrestorefR (and you can easy edit ASCII text) and will convert it
according to your OS locale. When will be available Unicode version of text,
it will be used instead of ASCII (useful with Unicode phones \- it isn\(aqt important,
what locale is set in computer and no conversion Unicode \-> ASCII and ASCII \->
Unicode is done).
.sp
You can use any editor with regular expressions function to edit backup text
file. Examples of such editors can be \fI\%vim\fP or
\fI\%TextPad\fP which both do support regular expressions.
.sp
Remove info about voice tags
.sp
Find:
.sp
.nf
.ft C
^Entry\e([0\-9][0\-9]\e)VoiceTag = \e(.*\e)\en
.ft P
.fi
.sp
Replace:
.sp
.nf
.ft C
<blank>
.ft P
.fi
.sp
Change all numbers starting from +3620, +3630, +3660, +3670 to +3620
.sp
Find:
.sp
.nf
.ft C
Type = NumberGeneral\enEntry\e([0\-9][0\-9]\e)Text = "\e+36\e(20\e|30\e|60\e|70\e)\en
.ft P
.fi
.sp
Replace:
.sp
.nf
.ft C
Type = NumberMobile\enEntry\e1Text = "\e+3620
.ft P
.fi
.sp
Change phone numbers type to mobile for numbers starting from +3620, +3630,... and removing the corresponding TextUnicode line
.sp
Find:
.sp
.nf
.ft C
Type = NumberGeneral\enEntry\e([0\-9][0\-9]\e)Text = "\e+36\e([2367]0\e)\e([^\e"]*\e)"\enEntry\e([0\-9][0\-9]\e)TextUnicode = \e([^\en]*\e)\en
.ft P
.fi
.sp
Replace:
.sp
.nf
.ft C
Type = NumberMobile\enEntry\e1Text = "\e+36\e2\e3"\en
.ft P
.fi
.IP "See also"
.sp
\fIconverting\-formats\fP
.RE
.SH AUTHOR
Michal Čihař <michal@cihar.com>
.SH COPYRIGHT
2009-2012, Michal Čihař <michal@cihar.com>
.\" Generated by docutils manpage writer.
.\" 
.
